﻿using System;
using System.Xml.Serialization;  // Does XML serializing for a class.
using System.Drawing;            // Required for storing a Bitmap.
using System.IO;			     // Required for using Memory stream objects.
using System.ComponentModel;     // Required for conversion of Bitmap objects.

namespace TVDL4
{
        [XmlRootAttribute("GiaiDoan", Namespace = "", IsNullable = false)]
        public class GiaiDoan
        {
            /// <summary>
            /// Default constructor for this class (required for serialization).
            /// </summary>
            public GiaiDoan()
            {
            }
            // Serializes an ArrayList as a "Hobbies" array of XML elements of type string named "Hobby".
            [XmlArray("Names"), XmlArrayItem("Name", typeof(string))]
            public System.Collections.ArrayList Names = new System.Collections.ArrayList();

        }
    }

